﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace VotesResults.Models
{
    public class VoteIndexModel
    {
        public int VoteId { get; set; }
        public string VoteName { get; set; }
        public int GroupId { get; set; }
        public List<QuestionModel> QuestionModels { get; set; }

        public VoteIndexModel()
        {
            //QuestionModels = new List<QuestionModel>();
        }
    }

    public class QuestionModel
    {
        public int Id { get; set; }
        public string Content { get; set; }
        public float Mark { get; set; }
    }
}